import * as express from 'express';
import * as swagger from 'swagger-express-middleware';
import { interfaces, controller, httpGet, httpPost, queryParam } from 'inversify-express-utils';
import { Container } from 'inversify';

export default function rootControllerFactory(container: Container, applySwaggerMiddlewares) {
	@controller('/')
	class RootController implements interfaces.Controller {
		@httpGet('/')
		public list(request: express.Request, response: express.Response, next: express.NextFunction): string {
			return 'running';
		}
	}
	return RootController;
}
